package cn.openea.perpartner.common.core.web.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;


public class BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;
    /** 请求参数 */
    @JSONField(serialize = false)
    @TableField(exist = false)
    private Map<String, Object> params;
    public Map<String, Object> getParams()
    {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }
}